package security;

import java.io.Serializable;


public class PrivateCert implements Serializable{
	private byte[] pubkey;
	private byte[] privkey;
	private byte[] cakey;
	private byte[] digest;
	private String name;
	
	public PrivateCert(byte[] pubkey, byte[] privkey, byte[] cakey, byte[] digest, String name){
		this.pubkey = pubkey;
		this.privkey = privkey;
		this.cakey = cakey;
		this.digest = digest;
		this.name = name;
	}
	
	public String getName(){
		return name;
	}
	
	public byte[] getPublicKey(){
		return pubkey;
	}
	
	public byte[] getPrivateKey(){
		return privkey;
	}
	
	public byte[] getCAKey(){
		return cakey;
	}
	
	public byte[] getDigest(){
		return digest;
	}
	
	
}
